﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HzybService.BaseInData
{
    /// <summary>
    ///费用预结算_结算
    /// </summary>
    public class RcFeiYong : HzybRc
    {
        /// <summary>
        ///1 就诊流水号
        /// </summary>
        public string JiuZhenLsh { set; get; }

        /// <summary>
        ///2 单据号
        /// </summary>
        public string DanJuHao { set; get; }

        /// <summary>
        ///3 医疗类别
        /// </summary>
        public string YiLiaoLb { set; get; }

        /// <summary>
        ///4 结算日期
        /// </summary>
        public string JieSuanRq { set; get; }

        /// <summary>
        ///5 出院日期
        /// </summary>
        public string ChuYuanRq { set; get; }

        /// <summary>
        ///6 出院原因
        /// </summary>
        public string ChuYuanYy { set; get; }

        /// <summary>
        ///7 结算类别
        /// </summary>
        public string JieSuanLb { set; get; }

        /// <summary>
        ///8 出院疾病编码
        /// </summary>
        public string ChuYuanJbbm { set; get; }

        /// <summary>
        ///9 出院疾病名称
        /// </summary>
        public string ChuYuanJbmc { set; get; }

        /// <summary>
        ///10 次要诊断编码 1
        /// </summary>
        public string ChiYaoZdbm1 { set; get; }

        /// <summary>
        ///11 次要诊断编码 2
        /// </summary>
        public string ChiYaoZdbm2 { set; get; }

        /// <summary>
        ///12 次要诊断编码 3
        /// </summary>
        public string ChiYaoZdbm3 { set; get; }

        /// <summary>
        ///13 次要诊断编码 4
        /// </summary>
        public string ChiYaoZdbm4 { set; get; }

        /// <summary>
        ///14 次要诊断编码 5
        /// </summary>
        public string ChiYaoZdbm5 { set; get; }

        /// <summary>
        ///15 次要诊断编码 6
        /// </summary>
        public string ChiYaoZdbm6 { set; get; }

        /// <summary>
        ///16 次要诊断编码 7
        /// </summary>
        public string ChiYaoZdbm7 { set; get; }

        /// <summary>
        ///17 次要诊断编码 8
        /// </summary>
        public string ChiYaoZdbm8 { set; get; }

        /// <summary>
        ///18 次要诊断编码 9
        /// </summary>
        public string ChiYaoZdbm9 { set; get; }

        /// <summary>
        ///19 次要诊断编码 10
        /// </summary>
        public string ChiYaoZdbm10 { set; get; }

        /// <summary>
        ///20 次要诊断编码 11
        /// </summary>
        public string ChiYaoZdbm11 { set; get; }

        /// <summary>
        ///21 次要诊断编码 12
        /// </summary>
        public string ChiYaoZdbm12 { set; get; }

        /// <summary>
        ///22 次要诊断编码 13
        /// </summary>
        public string ChiYaoZdbm13 { set; get; }

        /// <summary>
        ///23 次要诊断编码 14
        /// </summary>
        public string ChiYaoZdbm14 { set; get; }

        /// <summary>
        ///24 费用总额
        /// </summary>
        public string FeiYongZe { set; get; }

        /// <summary>
        ///25 经办人
        /// </summary>
        public string JinBanRen { set; get; }

        /// <summary>
        ///26 实际就诊医疗机构编号
        /// </summary>
        public string ShiJiJzyljgbh { set; get; }

        /// <summary>
        ///27 实际就诊医院机构名称
        /// </summary>
        public string ShiJiJzyljgmc { set; get; }

        /// <summary>
        ///28 备案编号
        /// </summary>
        public string BeiAnHao { set; get; }

        /// <summary>
        ///29 个人编号
        /// </summary>
        public string GeRenBh { set; get; }

        public override bool CheckData()
        {
            return base.CheckData();
        }

        public override string GetInputStr()
        {
            RuCan = string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}|{7}|{8}|{9}|{10}|{11}|{12}|{13}|{14}|{15}|{16}|{17}|{18}|{19}|{20}|{21}|{22}|{23}|{24}|{25}|{26}|{27}|{28}", JiuZhenLsh,
                DanJuHao,
                YiLiaoLb,
                JieSuanRq,
                ChuYuanRq,
                ChuYuanYy,
                JieSuanLb,
                ChuYuanJbbm,
                ChuYuanJbmc,
                ChiYaoZdbm1,
                ChiYaoZdbm2,
                ChiYaoZdbm3,
                ChiYaoZdbm4,
                ChiYaoZdbm5,
                ChiYaoZdbm6,
                ChiYaoZdbm7,
                ChiYaoZdbm8,
                ChiYaoZdbm9,
                ChiYaoZdbm10,
                ChiYaoZdbm11,
                ChiYaoZdbm12,
                ChiYaoZdbm13,
                ChiYaoZdbm14,
                FeiYongZe,
                JinBanRen,
                ShiJiJzyljgbh,
                ShiJiJzyljgmc,
                BeiAnHao,
                GeRenBh);
            return base.GetInputStr();
        }
    }
}